home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / patch / sas_cv6.57 / install < prev    next >
Text File  |  1996-10-20  |  6KB  |  206 lines

  1. .bra [
  2. .ket ]
  3.  
  4. echo ""
  5. echo "This script will apply the 6.57 patch for the"
  6. echo "SAS/C Development System. This patch will read"
  7. echo "from the original 6.50 system disks, but you "
  8. echo "should have 6.56 installed on your system since"
  9. echo "this patch does not update all of the files that"
  10. echo "6.55 and 6.56 did."
  11. echo ""
  12. echo "Check the read.me file for a list of fixed bugs."
  13. echo ""
  14. ask "Continue with patch?"
  15.  
  16. if warn
  17.  
  18. if exists sc:c/smake
  19. echo Patching SMAKE
  20. decompress SASC_6.50_Disk_1:Compiler/c_files t: smake
  21. spatch -osc:c/smake -psmake.pch t:smake
  22. delete t:smake quiet
  23. endif
  24.  
  25. if exists sc:c/scopts
  26. echo Patching SCOPTS
  27. decompress SASC_6.50_Disk_1:Compiler/c_files t: scopts
  28. spatch -osc:c/scopts -pscopts.pch t:scopts
  29. delete t:scopts quiet
  30. endif
  31.  
  32. if exists sc:c/sc
  33. echo Patching SC
  34. decompress SASC_6.50_Disk_1:Compiler/c_files t: sc
  35. spatch -osc:c/sc -psc.pch t:sc
  36. delete t:sc quiet
  37. endif
  38.  
  39. if exists sc:c/se
  40. echo Patching SE
  41. decompress SASC_6.50_Disk_1:Compiler/c_files t: se
  42. spatch -osc:c/se -pse.pch t:se
  43. delete t:se quiet
  44. endif
  45.  
  46. if exists sc:c/slink
  47. echo Patching slink
  48. decompress SASC_6.50_Disk_1:Compiler/c_files t: slink
  49. spatch -osc:c/slink -pslink.pch t:slink
  50. delete t:slink quiet
  51. endif
  52.  
  53. if exists sc:libs/sc2.library
  54. echo Patching SC2.LIBRARY
  55. decompress SASC_6.50_Disk_1:Compiler/libs_files t: sc2.library
  56. spatch -osc:libs/sc2.library -psc2.pch t:sc2.library
  57. delete t:sc2.library quiet
  58. endif
  59.  
  60. if exists sc:libs/sc1.library
  61. echo Patching SC1.LIBRARY
  62. decompress SASC_6.50_Disk_1:Compiler/libs_files t: sc1.library
  63. spatch -osc:libs/sc1.library -psc1.pch t:sc1.library
  64. delete t:sc1.library quiet
  65. endif
  66.  
  67. if exists sc:libs/scdebug.library
  68. echo Patching SCDEBUG.LIBRARY
  69. decompress SASC_6.50_Disk_1:Compiler/libs_files t: scdebug.library
  70. spatch -osc:libs/scdebug.library -pscdebug.pch t:scdebug.library
  71. delete t:scdebug.library quiet
  72. endif
  73.  
  74. if exists sc:include/exec/execbase.h
  75. echo Patching EXECBASE.H
  76. decompress SASC_6.50_Disk_2:compiler/include/exec_files t: execbase.h
  77. spatch -osc:include/exec/execbase.h -pexecbase.pch t:execbase.h 
  78. delete t:execbase.h quiet
  79. endif
  80.  
  81. if exists sc:cxxinclude/iostream.h
  82. echo Patching IOSTREAM.H
  83. decompress SASC_6.50_Disk_3:C_Plus_Plus/cxxinclude_files t: iostream.h
  84. spatch -osc:cxxinclude/iostream.h -piostream.pch t:iostream.h
  85. delete t:iostream.h quiet
  86. endif
  87.  
  88. if exists sc:libs/scgo.library
  89. echo Patching SCGO.LIBRARY
  90. decompress SASC_6.50_Disk_3:optimizers/libs_files t: scgo.library
  91. spatch -osc:libs/scgo.library -pscgo.pch t:scgo.library
  92. delete t:scgo.library quiet
  93. endif
  94.  
  95. if exists sc:libs/scpeep.library
  96. echo Patching SCPEEP.LIBRARY
  97. decompress SASC_6.50_Disk_3:optimizers/libs_files t: scpeep.library
  98. spatch -osc:libs/scpeep.library -pscpeep.pch t:scpeep.library
  99. delete t:scpeep.library quiet
  100. endif
  101.  
  102. if exists sc:c/asm
  103. echo Patching ASM
  104. decompress SASC_6.50_Disk_3:Assembler/c_files t: asm
  105. spatch -osc:c/asm -pasm.pch t:asm
  106. delete t:asm quiet
  107. endif
  108.  
  109.  
  110. if exists sc:c/cpr
  111. echo Patching CPR
  112. decompress SASC_6.50_Disk_4:Debugger/c_files t: cpr
  113. spatch -osc:c/cpr -pcpr.pch t:cpr
  114. delete t:cpr quiet
  115. endif
  116.  
  117. if exists sc:libs/schi.library
  118. echo Patching SCHI.LIBRARY
  119. decompress SASC_6.50_Disk_4:Debugger/libs_files t: schi.library
  120. spatch -osc:libs/schi.library -pschi.pch t:schi.library
  121. delete t:schi.library quiet
  122. endif
  123.  
  124. if exists sc:c/cprx
  125. echo Patching CPRX
  126. decompress SASC_6.50_Disk_4:Cross_Debugger/c_files t: cprx
  127. spatch -osc:c/cprx -pcprx.pch t:cprx
  128. delete t:cprx quiet
  129. endif
  130.  
  131. if exists sc:c/omd
  132. echo Patching OMD
  133. decompress SASC_6.50_Disk_5:Extra_Utilities/c_files t: omd
  134. spatch -osc:c/omd -pomd.pch t:omd
  135. delete t:omd quiet
  136. endif
  137.  
  138. if exists sc:source/_tzset.c
  139. echo Replacing _tzset.c
  140. copy _tzset.c sc:source/_tzset.c
  141. endif
  142.  
  143.  
  144. if exists sc:lib/sc.lib
  145. echo Replacing functions in SC.LIB
  146. oml sc:lib/sc.lib r _sf.osc _sfmt.osc fdopen.osc _iob.osc ctime.osc _stackext.osc fseek.osc getclk.osc chgclk.osc mktime.osc gmtime.osc fputc.osc fwrite.osc llspopel.cxx.o llisget0.cxx.o llisget1.cxx.o llisget2.cxx.o llisget3.cxx.o llisget4.cxx.o llisget5.cxx.o llisgtl0.cxx.o llisigno.cxx.o llispeek.cxx.o llisred0.cxx.o timedelay.osc
  147. endif
  148.  
  149.  
  150. if exists sc:lib/scs.lib
  151. echo Replacing functions in SCS.LIB
  152. oml sc:lib/scs.lib r _sf.oscs _sfmt.oscs fdopen.oscs _iob.oscs ctime.oscs _stackext.oscs fseek.oscs getclk.oscs chgclk.oscs mktime.oscs gmtime.oscs  fputc.oscs fwrite.oscs timedelay.oscs
  153. endif
  154.  
  155. if exists sc:lib/scnb.lib
  156. echo Replacing functions in SCNB.LIB
  157. oml sc:lib/scnb.lib r _sf.oscnb _sfmt.oscnb fdopen.oscnb _iob.oscnb ctime.oscnb _stackext.oscnb fseek.oscnb getclk.oscnb chgclk.oscnb mktime.oscnb gmtime.oscnb  fputc.oscnb fwrite.oscnb  llspopel.cxxnb.o llisget0.cxxnb.o llisget1.cxxnb.o llisget2.cxxnb.o llisget3.cxxnb.o llisget4.cxxnb.o llisget5.cxxnb.o llisgtl0.cxxnb.o llisigno.cxxnb.o llispeek.cxxnb.o llisred0.cxxnb.o timedelay.oscnb
  158. endif
  159.  
  160. if exists sc:lib/scsnb.lib
  161. echo Replacing functions in SCSNB.LIB
  162. oml sc:lib/scsnb.lib r _sf.oscsnb _sfmt.oscsnb fdopen.oscsnb _iob.oscsnb ctime.oscsnb _stackext.oscsnb fseek.oscsnb getclk.oscsnb chgclk.oscsnb mktime.oscsnb gmtime.oscsnb fputc.oscsnb fwrite.oscsnb timedelay.oscsnb
  163. endif
  164.  
  165. if exists sc:lib/scm.lib
  166. echo Replacing functions in SCM.LIB
  167. oml sc:lib/scm.lib r _sfmt.oscm
  168. endif
  169.  
  170. if exists sc:lib/scms.lib
  171. echo Replacing functions in SCMS.LIB
  172. oml sc:lib/scms.lib r _sfmt.oscms
  173. endif
  174.  
  175. if exists sc:lib/scmnb.lib
  176. echo Replacing functions in SCMNB.LIB
  177. oml sc:lib/scmnb.lib r _sfmt.oscmnb
  178. endif
  179.  
  180. if exists sc:lib/scmsnb.lib
  181. echo Replacing functions in SCMSNB.LIB
  182. oml sc:lib/scmsnb.lib r _sfmt.oscmsnb
  183. endif
  184.  
  185. if exists sc:lib/scmieee.lib
  186. echo Replacing functions in SCMIEEE.LIB
  187. oml sc:lib/scmieee.lib r _sfmt.oscmieee
  188. endif
  189.  
  190. if exists sc:lib/scm881.lib
  191. echo Replacing functions in SCM881.LIB
  192. oml sc:lib/scm881.lib r _sfmt.oscm881
  193. endif
  194.  
  195. if exists sc:lib/scmffp.lib
  196. echo Replacing functions in SCMFFP.LIB
  197. oml sc:lib/scmffp.lib r _sfmt.oscmffp
  198. endif
  199.  
  200.  
  201. echo "Adding new 68040 math library (scm040.lib)"
  202. copy scm040.lib sc:lib
  203.  
  204.  
  205. endif
  206.